﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Øving3Blackjack
{
    class PlayerCards : List<Card>
    {
        public void addCard(Card card)
        {
            this.Add(card);
        }

        public Card getCard(int index)
        {
            return this.ElementAt(index);
        }

        public void emptyHand()
        {
            this.RemoveRange(1, this.Count - 1);
        }
    }
}
